{extend name="public:base" /}
{block name="css"}
<style type="text/css">
    .details{padding: 20px;}
    .details li{float: left;height: 30px;padding-top: 5px;line-height: 30px;width: 50%}
    .details li span{display: block;float: left;width: 200px;line-height: 30px;text-align: right;}
    .details li p{line-height: 30px;float: left;}
</style>
{/block}
{block name="content"}
<div class="details">
    <li>
        <span>会员ID：</span>
        <p>{$Arr.user_id}</p>
        <div style="clear: both"></div>
    </li>
    <li>
        <span>会员呢称：</span>
        <p>{$Arr.nickname}</p>
        <div style="clear: both"></div>
    </li>
    <li>
        <span>会员账号：</span>
        <p>{$Arr.account}</p>
        <div style="clear: both"></div>
    </li>
    <li>
        <span>手机号：</span>
        <p>{$Arr.phone}</p>
        <div style="clear: both"></div>
    </li>
    <li>
        <span>真实姓名：</span>
        <p>{$Arr.nickname}</p>
        <div style="clear: both"></div>
    </li>
    <li>
        <span>等级：</span>
        <p>{$Arr.level}</p>
        <div style="clear: both"></div>
    </li>
    <li>
        <span>注册时间：</span>
        <p>{$Arr.add_time|date="Y-m-d H:i",###}</p>
        <div style="clear: both"></div>
    </li>
    <li>
        <span>最后登录时间：</span>
        <p>{$Arr.login_time|date="Y-m-d H:i",###}</p>
        <div style="clear: both"></div>
    </li>
    <div style="clear: both"></div>
    <!-- <div style="width: 120px;margin: 0px auto;padding-top: 30px;">
        <a href='javascript:;' onclick="allocate_fuc('{$Arr.user_id}')"  class="layui-btn">拨币</a>
    </div> -->
</div>
<div>

</div>

{/block}

{block name="javascript"}


<script type="text/javascript">

    function allocate_fuc(uid){
        layui.use('layer', function(){
            var layer = layui.layer;
            layer.open({
                title:"拨币",
                type: 2,
                area: ['500px', '300px'],
                content: ['/admin/User/allocate?id='+uid, 'no'],
                end: function () {
                    location.reload();
                }
            });
        });
    }

</script>
{/block}